// 变量
$textColor: #2c3e50;
$opacit-y: 0.9;

/** 混入样式 **/
@mixin dif-jucc-alc {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin dif-alc {
  display: flex;
  align-items: center;
}

@mixin dif-juspb-alic {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@mixin text-fons-color {
  font-size: 1.2rem;
  font-weight: 700;
  color: $textColor;
}

@mixin dif-juc {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/*
scroll样式
*/
@mixin scrollbar {
  width: 7px;
  height: 100%;
  background-color: rgb(238, 238, 238);
  border-radius: 10px;
}

@mixin scrollbar-track {
  border-radius: 10px;
}

@mixin scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5);
  background-color: rgba(184, 184, 184, 0.5);
}

@mixin scroll-scss {
  overflow-y: scroll;
  box-sizing: border-box;
}
/*
scroll样式
*/

/* 单行文本溢出隐藏 省略号代替 */
@mixin text-d {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// div公共样式
@mixin div-f-p {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.custom-scroll {
  @include scroll-scss;
  overflow-x: hidden;
}

.custom-scroll::-webkit-scrollbar {
  @include scrollbar;
}

.custom-scroll::-webkit-scrollbar-track {
  @include scrollbar-track;
}

.custom-scroll::-webkit-scrollbar-thumb {
  @include scrollbar-thumb;
}

.cursor-p {
  cursor: pointer;
}

.opacity-ling {
  opacity: 0.8;
}

.min-win-he {
  min-width: 1200px;
}
